MemoryBlock.ColorValue Function

Gets or sets a Color in one of three formats, selected by Bits. 32: 32-bit color (high byte unused) 24: 24-bit color 16: 16-bit color (5 bits per color, high bit unused) Returns a Color.

Syntax

result = MemoryBlock.ColorValue( Offset, Bits )

Parameters

Offset

Integer

Bits

Integer

Return Value

Result

Color